package spring;

import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
import org.springframework.context.ApplicationContext;
import spring.ioc.IocService;

/**
 * @author 歪大哥😁
 * @date 2020-03-31.
 */
public class SpringStudyTest01 {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring/spring-application-study.xml");
        IocService service = context.getBean(IocService.class);
        System.out.println(service.hello());
    }
}